// 简化的webpack热更新配置 - 解决兼容性问题
module.exports = {
  mode: 'development',
  devtool: 'source-map',
  watchOptions: {
    ignored: /node_modules/,
    aggregateTimeout: 300,
    poll: 1000,
  },
};